package cn.hd.dao;

import cn.hd.entity.Productdetail;
import cn.hd.entity.Returnn;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ReturnDao {

    //增加
    public int addReturn(Returnn returnn);

    //删除
    public int delReturnn(long returnid);

    //修改
    public int updateReturn(Returnn returnn);

    //根据id查询
    public Returnn selectByIdReturn(long returnid);

    //查询
    public List<Returnn> selectReturn(long pid);


}
